package models

import "time"

// 专业
type Major struct {
	Id            int64     `xorm:"pk autoincr" json:"majorId"`
	CategoryId    int64     `xorm:"comment('专业分类id')" json:"majorCategoryId"`
	Name          string    `xorm:"comment('专业名称')" json:"majorName"`
	Desc          string    `xorm:"text comment('专业介绍')" json:"majorDesc"`
	Created       time.Time `xorm:"created comment('创建时间')" json:"-"`
	Deleted       time.Time `xorm:"deleted comment('删除时间')" json:"-"`
	MajorCreated  string    `xorm:"-" json:"majorCreated"`
}
